package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * VerificationCouponCommand
 * </p>
 *
 * @author: WeiHuan
 * @version:1.0
 * @date: 2024/5/30 14:46
 * 注意：本内容仅限于公司内部传阅，禁止外泄以及用于其他的商业目的
 */
@Data
@ApiModel(description = "核销商户优惠券入参")
public class VerificationCouponCommand {

	@ApiModelProperty(value = "待核销的商户优惠券ID",required = true)
	@NotNull(message = "待核销的商户优惠券ID")
	private Long couponId;

	@ApiModelProperty(value = "当前门店核销码",required = true)
	@NotBlank(message = "当前门店核销码")
	private String code;
}